package com.igroupes.ovineherd.model.Style;

import com.igroupes.ovineherd.model.enums.FormKey;

/**
 * 只读样式
 * @author xxh
 */
public class ReadonlyStyle extends BasicStyle {

    private ReadonlyStyle(String label, Object value) {
        super(label, value);
        this.label = label;
        this.disabled = true;
        this.type = FormKey.TEXT.getCode();
    }

    @Override
    public Boolean verify(Object o) {
        return super.verify(o);
    }
}
